/**
 * @author: wq
 * @Date: 2017/12/25
 * @Time: 20:18
 * <p>
 * Description:
 *          整车订单异常登记 API
 */

import axios from 'axios';
import { ALL_SERVICE_API } from '../api';

/**
 * 保存整车订单异常登记
 * @param params
 * @returns {AxiosPromise}
 */
export const saveTruckLoadOrderExceptionReport = params => {
  return axios.post(ALL_SERVICE_API + '/truck-load-order-exception-reports', params);
};

/**
 * 获取整车订单异常登记列表-不分页
 * @param params
 * @returns {AxiosPromise}
 */
export const getTruckLoadOrderExceptionReports = params => {
  return axios.get(ALL_SERVICE_API + '/truck-load-order-exception-reports/no-page', {params: params});
};
